<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Templates for felogin</title>
</head>
<body>

<h1>Common markers</h1>
<p>These are substituted in all felogin item displaying templates.</p>

<h2>Markers</h2>
<ul>
	<li>###ACTION_URI###     - URI of the request for the login/logout form</li>
	<li>###EXTRA_HIDDEN###   - Hook required (additional hidden field used by kb_md5fepw extension by Kraft Bernhard)</li>
	<li>###ON_SUBMIT###      - Hook required (used by kb_md5fepw extension by Kraft Bernhard)</li>
	<li>###PREFIXID###       - Same as class name ('tx_felogin_pi1') useful to get a unique classname prefix</li>
	<li>###REDIRECT_URL###   - URL of redirection upon login</li>
	<li>###NOREDIRECT###     - if set, no redirect will be done</li>
	<li>###STORAGE_PID###    - explicit enough I guess (if not : id of the page where user are stored)</li>
	<li>###STATUS_HEADER###  - depends of the template</li>
	<li>###STATUS_MESSAGE### - depends of the template</li>
</ul>

<h2>Wrap parts</h2>
<ul>
	<li>###HEADER_VALID###  - useful to define what to show/hide</li>
	<li>###MESSAGE_VALID### - useful to define what to show/hide</li>
	<li>###FORGOTP_VALID### - useful to define what to show/hide</li>
	<li>###PERMALOGIN_VALID### - useful to define what to show/hide</li>
</ul>

<h2>felogin Language Markers (see pi/locallang.xlf)</h2>
<ul>
	<li>###EMAIL_LABEL###                 - corresponding to 'your_email'</li>
	<li>###FORGOT_PASSWORD###             - corresponding to 'forgot_password'</li>
	<li>###FORGOT_PASSWORD_BACKTOLOGIN### - corresponding to 'forgot_password_backToLogin'</li>
	<li>###FORGOT_PASSWORD_ENTEREMAIL###  - corresponding to 'forgot_password_enterEmail'</li>
	<li>###LOGIN_LABEL###                 - corresponding to 'login'</li>
	<li>###PASSWORD_LABEL###              - corresponding to 'password'</li>
	<li>###SEND_PASSWORD###               - corresponding to 'send_password'</li>
	<li>###USERNAME_LABEL###              - corresponding to 'username'</li>
</ul>

<!--###TEMPLATE_LOGIN###-->

<div class="panel-heading text-center">
    <a href="admin/login">
        <img src="fileadmin/templates/backend/public/images/logo.png" alt="Image" class="block-center img-rounded" />
    </a>
    <div class="text-center mt-lg">
        ###STATUS_HEADER###
        ###STATUS_MESSAGE###
    </div>
</div>
<div class="panel-body">
    <!-- ###LOGIN_FORM### -->
    <form role="form" class="mb-lg" action="###ACTION_URI###" method="post" onsubmit="###ON_SUBMIT###" target="_top">
        <div class="form-group has-feedback">
            <input id="exampleInputEmail1" type="text" name="user" placeholder="###USERNAME_LABEL###" class="form-control" />
            <span class="fa fa-envelope form-control-feedback text-muted"></span>
        </div>
        <div class="form-group has-feedback">
            <input id="exampleInputPassword1" type="password" name="pass" placeholder="###PASSWORD_LABEL###" class="form-control" data-rsa-encryption="" />
            <span class="fa fa-lock form-control-feedback text-muted"></span>
        </div>
        <div class="clearfix">
            <!--###PERMALOGIN_VALID###-->
                <div class="checkbox c-checkbox pull-left mt0">
                    <label>
                        <input name="permalogin" value="0" type="hidden" ###PERMALOGIN_HIDDENFIELD_ATTRIBUTES### id="permaloginHiddenField" />
                        <input name="permalogin" value="1" type="checkbox" ###PERMALOGIN_CHECKBOX_ATTRIBUTES### id="permalogin"  onclick="document.getElementById('permaloginHiddenField').disabled = this.checked;" />
                        <span class="fa fa-check"></span>###PERMALOGIN###</label>
                </div>
            <!--###PERMALOGIN_VALID###-->
            <!--###FORGOTP_VALID###-->
                <div class="pull-right text-muted">
                    <!--###FORGOT_PASSWORD_LINK###-->###FORGOT_PASSWORD###<!--###FORGOT_PASSWORD_LINK###-->
                </div>
            <!--###FORGOTP_VALID###-->
        </div>
        <button type="submit" class="btn btn-block btn-success">###LOGIN_LABEL###</button>
        <div class="felogin-hidden">
            <input type="hidden" name="logintype" value="login" />
            <input type="hidden" name="pid" value="###STORAGE_PID###" />
            <input type="hidden" name="redirect_url" value="###REDIRECT_URL###" />
            <input type="hidden" name="###PREFIXID###[noredirect]" value="###NOREDIRECT###" />
            ###EXTRA_HIDDEN###
        </div>
    </form>
    <!-- ###LOGIN_FORM### -->
</div>

<!--###TEMPLATE_LOGIN###-->

<!--###TEMPLATE_LOGOUT###-->

###STATUS_HEADER###
###STATUS_MESSAGE###

<form action="###ACTION_URI###" target="_top" method="post">
	<fieldset>
	<legend>###LEGEND###</legend>
	<div>
		<label>###USERNAME_LABEL###</label>
	 	###USERNAME###
    </div>
	<div>
		<input type="submit" name="submit" value="###LOGOUT_LABEL###" />
	 </div>

	<div class="felogin-hidden">
		<input type="hidden" name="logintype" value="logout" />
		<input type="hidden" name="pid" value="###STORAGE_PID###" />
		<input type="hidden" name="###PREFIXID###[noredirect]" value="###NOREDIRECT###" />
	</div>
	</fieldset>
</form>

<!--###TEMPLATE_LOGOUT###-->

<!--###TEMPLATE_FORGOT###-->
<div class="panel-heading text-center">
    <a href="admin/login/">
        <img src="fileadmin/templates/backend/public/images/logo.png" alt="Image" class="block-center img-rounded" />
    </a>
    <div class="text-center mt-lg">
        ###STATUS_HEADER###
    </div>
</div>
<div class="panel-body">
    <div class="text-center status-message">###STATUS_MESSAGE###</div>
    <!-- ###FORGOT_FORM### -->
    <form role="form" action="###ACTION_URI###" method="post">
        <div class="felogin-hidden">
            <input type="hidden" name="tx_felogin_pi1[forgot_hash]" value="###FORGOTHASH###" />
        </div>
        <div class="form-group has-feedback">
            <input id="resetInputEmail1" type="email" name="###FORGOT_EMAIL###" placeholder="###DATA_LABEL###" class="form-control" />
            <span class="fa fa-envelope form-control-feedback text-muted"></span>
        </div>
        <button type="submit" class="btn btn-danger btn-block">###SEND_PASSWORD###</button>
    </form>
    <!-- ###FORGOT_FORM### -->
    <div class="btn btn-block">###BACKLINK_LOGIN###</div>
</div>
<!--###TEMPLATE_FORGOT###-->

<!--###TEMPLATE_CHANGEPASSWORD###-->
    <div class="panel-heading text-center">
        <a href="admin/login/">
            <img src="fileadmin/templates/backend/public/images/logo.png" alt="Image" class="block-center img-rounded" />
        </a>
        <div class="text-center mt-lg">
            ###STATUS_HEADER###
            ###STATUS_MESSAGE###
        </div>
    </div>
    <div class="panel-body">
        <!-- ###CHANGEPASSWORD_FORM### -->
        <form role="form" action="###ACTION_URI###" method="post">
            <div class="form-group has-feedback">
                <input type="password" name="###NEWPASSWORD1###" placeholder="###NEWPASSWORD1_LABEL###" class="form-control" />
                <span class="fa fa-envelope form-control-feedback text-muted"></span>
            </div>
            <div class="form-group has-feedback">
                <input type="password" name="###NEWPASSWORD2###" placeholder="###NEWPASSWORD2_LABEL###" class="form-control" />
                <span class="fa fa-lock form-control-feedback text-muted"></span>
            </div>
            <button type="submit" class="btn btn-danger btn-block">###SEND_PASSWORD###</button>
        </form>
        <!-- ###CHANGEPASSWORD_FORM### -->
        <div class="btn btn-block">###BACKLINK_LOGIN###</div>
    </div>
<!--###TEMPLATE_CHANGEPASSWORD###-->